// Carbon Ads

// For Page Headings

.page-heading {

    #carbonads,
    #sfnql_5 {

        width: auto!important;
        height: auto!important;
        margin: 30px -30px -31px!important;
        padding: 20px!important;
        border: solid rgba(255, 255, 255, .5)!important;
        border-width: 1px 0!important;
        overflow: hidden;
        text-align: left;
        font-size: 13px!important;
        line-height: 16px!important;
        background: transparent!important;
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, .4);

        @media (min-width:480px) {
            width: 330px!important;
            margin: 20px auto!important;
            border-width: 1px!important;
            border-radius: 4px;
        }

        @media (min-width:768px) {
            margin-right: 0!important;
            margin-left: 0!important;
        }

        @media (min-width:992px) {
            position: absolute;
            top: 0;
            right: 15px;
            width: 330px!important;
            margin: 0!important;
            padding: 15px!important;
        }

        .carbon-wrap,
        .sfnql_5-wrap {

            .carbon-img,
            .sfnql_5-img {
                margin: 0!important;
                display: block;
                float: left;

                img {
                    display: block;
                }

            }

            .carbon-text,
            .sfnql_5-text {
                display: block!important;
                float: none!important;
                width: auto!important;
                height: auto!important;
                margin-left: 145px!important;
                padding-top: 0!important;
                color: rgba(255, 255, 255, .8)
            }

        }

        .carbon-poweredby,
        .sfnql_5-poweredby {
            color: white!important;
            display: block!important;
            float: none!important;
            width: auto!important;
            height: auto!important;
            margin-left: 145px!important;
            text-align: left!important;
            margin-top: 10px!important;
        }

    }

}

.carbon-post {

    #carbonads,
    #sfnql_5 {
        margin: 0 0 30px !important;
        padding: 20px!important;
        border-radius: 4px;
        overflow: hidden;
        text-align: left;
        font-size: 13px!important;
        line-height: 16px!important;
        background: $brand-primary!important;
        border-bottom: 3px solid darken($brand-primary, 5%);

        .carbon-wrap,
        .sfnql_5-wrap {

            .carbon-img,
            .sfnql_5-img {
                margin: 0!important;
                display: block;
                float: left;
            }

            .carbon-text,
            .sfnql_5-text {
                display: block!important;
                float: none!important;
                width: auto!important;
                height: auto!important;
                margin-left: 145px!important;
                padding-top: 0!important;
                color: rgba(255, 255, 255, .8)
            }

        }

        .carbon-poweredby,
        .sfnql_5-poweredby {
            display: block!important;
            float: none!important;
            width: auto!important;
            height: auto!important;
            margin-left: 145px!important;
            color: white!important;
            text-align: left!important;
            margin-top: 10px!important;
        }

    }

}